package cn.classyex.business.hr.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤详情管理对象 hr_attendance_detail
 * 
 * @author yex
 * @date 2021-05-06
 */
public class AttendanceDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考勤详情id */
    private Long attendanceDetailId;

    /** 员工id */
    @Excel(name = "员工id")
    private Long employeeId;

    /** 员工名称 */
    @Excel(name = "员工名称")
    private String employeeName;

    /** 考勤类型 */
    @Excel(name = "考勤类型")
    private String attendType;

    /** 考勤时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考勤时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date attendTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    public void setAttendanceDetailId(Long attendanceDetailId) 
    {
        this.attendanceDetailId = attendanceDetailId;
    }

    public Long getAttendanceDetailId() 
    {
        return attendanceDetailId;
    }
    public void setEmployeeId(Long employeeId) 
    {
        this.employeeId = employeeId;
    }

    public Long getEmployeeId() 
    {
        return employeeId;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setAttendType(String attendType) 
    {
        this.attendType = attendType;
    }

    public String getAttendType() 
    {
        return attendType;
    }
    public void setAttendTime(Date attendTime) 
    {
        this.attendTime = attendTime;
    }

    public Date getAttendTime() 
    {
        return attendTime;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("attendanceDetailId", getAttendanceDetailId())
            .append("employeeId", getEmployeeId())
            .append("employeeName", getEmployeeName())
            .append("attendType", getAttendType())
            .append("attendTime", getAttendTime())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
